function handleEmoji(str) {
	if(str==undefined){
		return
	}
	let replace = new RegExp(/\[em\_\d+\]/gi)
	let res = str.replace(replace, (m) => {
		const id = m.match(/[\d+]/gi).join('')
		return `<img src="http://console.713cloud.com/bkhumor-emoji/${id}.gif" align="middle"></img>`
	})
	return res
}


export default handleEmoji
